package com.houseman.workFlow.processer;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * workFlow操作器上下文对象
 *
 */
public class ProcessContext {

	//持有处理器接口引用
	private Processer proccesser;
	
	//构造器
	public ProcessContext(Processer proccesser) {
		this.proccesser = proccesser;
	}

	public void proccess(HttpServletRequest request, HttpServletResponse response) {
		proccesser.proccess(request, response);
	}
}
